home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / catD / strlog.z / strlog
Encoding:
Text File  |  2002-10-03  |  6.4 KB  |  132 lines

  1.  
  2.  
  3.  
  4. ssssttttrrrrlllloooogggg((((DDDD3333))))                                                          ssssttttrrrrlllloooogggg((((DDDD3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _ssss_tttt_rrrr_llll_oooo_gggg - submit messages to the _llll_oooo_gggg driver
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_tttt_rrrr_eeee_aaaa_mmmm_...._hhhh_>>>>
  14.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_tttt_rrrr_llll_oooo_gggg_...._hhhh_>>>>
  15.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_llll_oooo_gggg_...._hhhh_>>>>
  16.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  17.      _iiii_nnnn_tttt _ssss_tttt_rrrr_llll_oooo_gggg_((((_ssss_hhhh_oooo_rrrr_tttt _m_i_d_,,,, _ssss_hhhh_oooo_rrrr_tttt _s_i_d_,,,, _cccc_hhhh_aaaa_rrrr _l_e_v_e_l_,,,, _uuuu_ssss_hhhh_oooo_rrrr_tttt______tttt _f_l_a_g_s_,,,,
  18.           _cccc_hhhh_aaaa_rrrr _****_f_m_t_,,,, _...._...._.... _////_**** _aaaa_rrrr_gggg_ssss _****_////_))))_;;;;
  19.  
  20.    AAAArrrrgggguuuummmmeeeennnnttttssss
  21.      _m_i_d       Identification number of the module or driver submitting the
  22.                message.
  23.  
  24.      _s_i_d       Identification number for a particular minor device.
  25.  
  26.      _l_e_v_e_l     Tracing level for selective screening of low priority messages.
  27.  
  28.      _f_l_a_g_s     Bitmask of flags indicating message purpose.
  29.  
  30.      _f_m_t       _pppp_rrrr_iiii_nnnn_tttt_ffff(3S) style format string.
  31.  
  32.      _a_r_g_s      Zero or more arguments to _pppp_rrrr_iiii_nnnn_tttt_ffff.
  33.  
  34. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  35.      _ssss_tttt_rrrr_llll_oooo_gggg submits formatted messages to the _llll_oooo_gggg(7) driver.  The messages can
  36.      be retrieved with the _gggg_eeee_tttt_mmmm_ssss_gggg(2) system call.  The _f_l_a_g_s argument
  37.      specifies the type of the message and where it is to be sent.  _ssss_tttt_rrrr_aaaa_cccc_eeee(1M)
  38.      receives messages from the _llll_oooo_gggg driver and sends them to the standard
  39.      output.  _ssss_tttt_rrrr_eeee_rrrr_rrrr(1M) receives error messages from the _llll_oooo_gggg driver and
  40.      appends them to a file called _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_ssss_tttt_rrrr_eeee_aaaa_mmmm_ssss_////_eeee_rrrr_rrrr_oooo_rrrr_...._m_m-_d_d, where _m_m-_d_d
  41.      identifies the date of the error message.
  42.  
  43.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  44.      _ssss_tttt_rrrr_llll_oooo_gggg returns _0000 if the message is not seen by all the readers, _1111
  45.      otherwise.
  46.  
  47. UUUUSSSSAAAAGGGGEEEE
  48.    ffffllllaaaaggggssss AAAArrrrgggguuuummmmeeeennnntttt
  49.      Valid values for _f_l_a_g_s are:
  50.  
  51.           _SSSS_LLLL______EEEE_RRRR_RRRR_OOOO_RRRR      Message is for error logger.
  52.  
  53.           _SSSS_LLLL______TTTT_RRRR_AAAA_CCCC_EEEE      Message is for tracing.
  54.  
  55.           _SSSS_LLLL______CCCC_OOOO_NNNN_SSSS_OOOO_LLLL_EEEE    Message is for console logger.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. ssssttttrrrrlllloooogggg((((DDDD3333))))                                                          ssssttttrrrrlllloooogggg((((DDDD3333))))
  69.  
  70.  
  71.  
  72.           _SSSS_LLLL______NNNN_OOOO_TTTT_IIII_FFFF_YYYY     If _SSSS_LLLL______EEEE_RRRR_RRRR_OOOO_RRRR is also set, mail copy of message to
  73.                         system administrator.
  74.  
  75.           _SSSS_LLLL______FFFF_AAAA_TTTT_AAAA_LLLL      Modifier indicating error is fatal.
  76.  
  77.           _SSSS_LLLL______WWWW_AAAA_RRRR_NNNN       Modifier indicating error is a warning.
  78.  
  79.           _SSSS_LLLL______NNNN_OOOO_TTTT_EEEE       Modifier indicating error is a notice.
  80.  
  81.    ffffmmmmtttt AAAArrrrgggguuuummmmeeeennnntttt
  82.      The _%%%%_ssss, _%%%%_eeee, _%%%%_gggg, and _%%%%_GGGG formats are not allowed.
  83.  
  84.    pppprrrriiiinnnnttttffff aaaarrrrggggssss
  85.      _aaaa_rrrr_gggg_ssss can specify a maximum of _NNNN_LLLL_OOOO_GGGG_AAAA_RRRR_GGGG_SSSS, currently three.
  86.  
  87.    LLLLeeeevvvveeeellll
  88.      Base or Interrupt.
  89.  
  90.    SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
  91.      Does not sleep.
  92.  
  93.      Driver-defined basic locks, read/write locks, and sleep locks may be held
  94.      across calls to this function.
  95.  
  96. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  97.      _llll_oooo_gggg(7), _ssss_tttt_rrrr_aaaa_cccc_eeee(1M), _ssss_tttt_rrrr_eeee_rrrr_rrrr(1M)
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                                                         PPPPaaaaggggeeee 2222
  128.  
  129.  
  130.  
  131.